#include "MainDialog.h"
#include <QApplication>
#include "utils.h"
#include <QtDebug>

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    #ifndef QT_DEBUG
        resetLogFile();
        qInstallMessageHandler(fileMessageHandler);
    #endif
    app.setStyle("Fusion");
    MainDialog w;
    w.show();
    
    return app.exec();
}
